const http = require('http');

http.createServer(function (req, res) {
  res.writeHead(200, {
    'content-type': 'text/plain'
    // 'access-control-allow-headers': 'content-type',
    // 'access-control-allow-origin': '*'
  });
  // res.write(JSON.stringify({ code: '100' }));
  res.write('Hello World!');
  console.log('sending...');
  res.end();
}).listen(6678);

